﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

using System.Data.SqlClient;
using famails.dao;

namespace famails.bus
{
    /// <summary>
    /// Summary description for baivietBUS
    /// </summary>
    public class baivietBUS
    {
        baivietDAO bv = new baivietDAO();
        public baivietBUS()
        {
        }
        public DataTable getallconfig()
        {
            return bv.Getallconfig();
        }
        public DataTable getbykey(string key)
        {
            return bv.Getbykey(key);
        }
        public DataTable GetalltblConfig()
        {
            return bv.GetalltblConfig();

        }
        public DataTable GetalltblConfig_id(string id)
        {
            return bv.GetalltblConfig_id(id);
        }
        public DataTable Getalltblconfig_idgroup(string idGroup)
        {
            return bv.Getalltblconfig_idgroup(idGroup);
        }

        public DataTable GetAllChild(string idGroup)
        {
            return bv.GetAllChild(idGroup);
        }
    }
}